﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Forum.Common.Messages
{
    [Serializable]
    public class Register : Message
    {
        public string name { get; set; }
        public string username { get; set; }
        public string lastname { get; set; }
        public string password { get; set; }
        public string email { get; set; }

        public Register(string name,string username, string lastname, string password, string email)
        {
            this.name = name;
            this.username = username;
            this.lastname = lastname;
            this.password = password;
            this.email = email;
        }

        public override string GetType()
        {
            return "Register";
        }
    }
}
